<template>
  <div v-if="img">
    <el-image class="item_image" :src="img" :preview-src-list="[img]">
    </el-image>
  </div>
</template>

<script>
export default {
  props: {
    img: {
      type: String,
      default: ""
    }
  }
}
</script>
<style lang="less" scoped>
.item_image {
  max-height: 180px;
  max-width: 240px;
}
</style>